/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

/**
 *
 * @author kimloan
 */
public class GhePOJO {

    //<editor-fold defaultstate="collapsed" desc="1. Thuộc tính">
    private int maGhe;
    private int maPhong;
    private int loaiGhe;
    private int trangThai;
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="2. Phương thức getter/setter">
    public int getLoaiGhe() {
        return loaiGhe;
    }

    public void setLoaiGhe(int loaiGhe) {
        this.loaiGhe = loaiGhe;
    }

    public int getMaGhe() {
        return maGhe;
    }

    public void setMaGhe(int maGhe) {
        this.maGhe = maGhe;
    }

    public int getMaPhong() {
        return maPhong;
    }

    public void setMaPhong(int maPhong) {
        this.maPhong = maPhong;
    }

    public int getTrangThai() {
        return trangThai;
    }

    public void setTrangThai(int trangThai) {
        this.trangThai = trangThai;
    }

    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc="3. Phương thức khởi tạo mặc định">
    public GhePOJO() {
        this.maGhe = -1;
        this.maPhong = 0;
        this.loaiGhe = 0;
        this.trangThai = 0;
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="4. Phương thức khởi tạo đầy đủ tham số">
    public GhePOJO(int id, int maphong, int loaighe, int trangthai) {
        this.maGhe = id;
        this.maPhong = maphong;
        this.loaiGhe = loaighe;
        this.trangThai = trangthai;
    }
//</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="5. Phương thức khởi tạo sao chép">
    public GhePOJO(GhePOJO gh) {
        this.maGhe = gh.maGhe;
        this.maPhong = gh.maPhong;
        this.loaiGhe = gh.loaiGhe;
        this.trangThai = gh.trangThai;
    }
//</editor-fold>
}
